﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RK.Model.BPW
{
    /// <summary>
    /// 确认单模型
    /// </summary>
    public class SalConfirmMedel
    {
        /// <summary>
        /// 
        /// </summary>
        public bool IsAutoSubmitAndAudit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public SalConModel Model { get; set; }
    }
    //如果好用，请收藏地址，帮忙分享。
    //public class GetNumber
    //{
    //    /// <summary>
    //    /// 
    //    /// </summary>
    //    public string FNUMBER { get; set; }
    //}


    public class SalConFEntityItem
    {
        /// <summary>
        /// SAP行号_明细
        /// </summary>
        public string F_BPW_SAPORDERNO { get; set; }
        /// <summary>
        /// SAP行号
        /// </summary>
        public string F_BPW_SAPNO {  get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string FCustId {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string F_XRIS_Remark { get; set; }
        /// <summary>
        /// 选择
        /// </summary>
        public int F_XRIS_Select { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FEntryID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int F_XRIS_SalEntryId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime F_XRIS_SalCreateDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string F_XRIS_SalNO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string F_XRIS_SalStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber F_XRIS_MaterialId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber F_XRIS_SalUnit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal F_XRIS_SalQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime FDELIVERYDATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime F_BPW_DeliveryDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime F_XRIS_OkDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime F_XRIS_AOGDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FTaxPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FEntryTaxRate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FEntryTaxAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FAmount { get; set; }
    }

    public class SalConModel
    {
        /// <summary>
        /// 
        /// </summary>
        public int FID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SalConFEntityItem> FEntity { get; set; }
    }
}
